#include <stdio.h>

struct axspec
{
  int non_empty;
  void *expression;
  char axis[16];
};

struct axspec *axspec_create(int non_empty, void *expression, const char *axis)
{
  struct axspec *axspec = malloc(sizeof(struct axspec));

  axspec->non_empty = non_empty;
  axspec->expression = expression;
  strcpy(axspec->axis, axis);

  return axspec;
}

void axspec_dump(struct axspec *axspec)
{
  fprintf(stderr, "Axis specification for %s:\n", axspec->axis);
}

